package com.lysj.bhp.system.domain;


import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author drj
 * @date 2018/07/04 19:17
 * @Description:获取手机验证码使用
 */
@Entity
@Table(name = "t_verify_phone")
public class VerifyPhone {
   @Id
   private String phone; // 手机号码
   private String verify;
   private long expires;// 过期时间
   private long nextSendPhoneMs;//下次发送手机验证码的时间


   public String getPhone() {
      return phone;
   }

   public void setPhone(String phone) {
      this.phone = phone;
   }

   public String getVerify() {
      return verify;
   }

   public void setVerify(String verify) {
      this.verify = verify;
   }

   public long getExpires() {
      return expires;
   }

   public void setExpires(long expires) {
      this.expires = expires;
   }

   public long getNextSendPhoneMs() {
      return nextSendPhoneMs;
   }

   public void setNextSendPhoneMs(long nextSendPhoneMs) {
      this.nextSendPhoneMs = nextSendPhoneMs;
   }
}
